﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FileserverWPF.Models
{
    class Folder
    {
        string name;
        List<Folder> subFolders;
        List<File> files;

        public Folder(string name)
        {
            this.name = name;
            subFolders = new List<Folder>();
            files = new List<File>();
        }

        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        public List<Folder> SubFolders
        {
            get
            {
                return subFolders;
            }
            set
            {
                subFolders = value;
            }
        }

        public List<File> Files
        {
            get
            {
                return files;
            }
            set
            {
                files = value;
            }
        }
    }
}
